home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / cli / Extract.lha / Extract.guide (.txt) < prev    next >
Amigaguide Document  |  1995-06-11  |  2KB  |  51 lines

  1. @$VER: 1.00
  2. @author "Christian Steigies"
  3. @(c) "Christian Steigies"
  4. @node "Main" "Extract"
  5. Short:    extracts pieces from files
  6. Uploader: steigies@physik.uni-kiel.d400.de @{"Christian Steigies" link "CTS" 0}
  7. Author:   steigies@physik.uni-kiel.d400.de @{"Christian Steigies" link "CTS" 0}
  8. Type:     util/cli
  9. Extract was written for a @{"poor
  10. guy" link "MG" 0}, who has a CD-Rom drive but can't use it
  11. together with his HD. As he didn't find a split program which allowed to
  12. change the disk after writing a file, I wrote this program, which extracts
  13. a given amount of @{"bytes" link "bytes" 0} from a file. After copying the small files on the
  14. HD, they can be put together with the join command. To split an archive of
  15. 2.000.000 bytes into pieces which fit on DD disk, one could use the
  16. follwing commands:
  17.  Extract large df0:small.1 1 800000
  18.  Extract large df0:small.2 800001 1600000
  19.  Extract large df0:small.3 1600001 2000000
  20. After copying them all onto HD,
  21.  join small.1 small.2 small.3 as large
  22. can be used to regain the original archive.
  23. Usage: Extract <infile> <outfile> <from:bytes> <to:bytes>
  24. This is kind of my first C program, so please don't blame me for bad
  25. programming style or if it blows up your Harddisk. I know that it can be
  26. programmed smarter, but it runs ok on @{"my" link "CTS" 0} and @{"Martins" link "MG" 0} Amiga, but I don't
  27. use it too often (I still have no CD-Rom, and when I have mine, I'm sure
  28. that it will work together with my HD).
  29. Extract was compiled with GNU C version 2.5.8 (requires ixemul.library,
  30. in gcc_ixemul) and with GNU C version 2.6.3 (does not require the
  31. ixemul library, in gcc_noixemul, thanx to Martin for this one and testing).
  32. The sourcecode is included.
  33. @endnode
  34. @node "CTS" "Christian Steigies"
  35.     Christian Steigies
  36.     Feldstra
  37. e 102
  38.     24105 Kiel
  39.     Germany
  40.     steigies@physik.uni-kiel.d400.de
  41. @endnode
  42. @node "MG" "poor guy"
  43. Martin Gierich:   Progammer of the ZShell Versions 2.0+
  44. Try ZShell 2.6, there is a split command included, which makes Extract
  45. superfluus :-((
  46. @endnode
  47. @node "bytes" "bytes"
  48. one byte equals 8 bit!
  49. (at least on all the computers I have used so far...)
  50. @endnode
  51.